.form{
    &__group{
        &:not(:last-child){
            margin-bottom: 2rem;
        }
    }

    &__input{
        font-size: 1.5rem;
        padding: 1.5rem 2rem;
        border-radius: 2px;
        color: inherit;
        background-color: rgba($color-white,.5);
        border: none;
        transition: all .2s ease-in-out;
        border-bottom: 2px solid transparent;
        width: 90%;
        display: block;
        &:focus{
            outline: none;
            box-shadow: 0 1rem 2rem rgba($color-white,.1);
            border-bottom: 2px solid $color-primary;
        }
        &::-webkit-input-placeholder{
            color: $color-gray-dark--2;
        }
        &:valid{
            border-bottom: 2px solid $color-green;
        }
        &:focus:invalid{
            border-bottom: 2px solid $color-secondary-dark;
        }

        

    }
    &__label{
        font-size: 1.2rem;
        font-weight: 700;
        margin-left: 2rem;
        margin-top: .7rem;
        display: block;
        transition: all .2s ease-in-out;
        
    }
    &__input:placeholder-shown + &__label{
        opacity: 0;
        visibility: hidden;
        transform: translateY(-3rem);
    }
    &__radio-group{
        width: 49%;
        display: inline-block;
    }
    &__radio-input{
        display: none;
    }
    &__radio-label{
        font-size: $font-size-samll;
        cursor: pointer;
        position: relative;
        padding-left: 3.6rem;
    }
    &__radio-button{
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        display: inline-block;
        position: absolute;
        left: 0;
        top: -.4rem;
        border: 4px solid olivedrab;
        &::after{
            content: "";
            width: 1.6rem;
            height: 1.6rem;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            background-color: olivedrab;
            opacity: 0;
            visibility: hidden;
            display: block;
            transition: all .2s ease-in-out;
        }
    }
    &__radio-input:checked ~&__radio-label &__radio-button::after{
        opacity: 1;
        visibility: visible;
    }
}